﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace SDSystem.Models
{
    class DishesValidate
    {
        [Display(Name="Dishes Name:")]
        [StringLength(255, ErrorMessage = "First Name must contain least 5 characters", MinimumLength = 5)]
        [Required]
        public String Name { get; set; }

        [Display(Name = "Photo:")]
        public String Image { get; set; }

        [Display(Name = "Description:")]
        public String Description { get; set; }

        [Display(Name = "Details:")]
        public String DContent { get; set; }

        public String Recipe { get; set; }

        public String Resource { get; set; }

        [Display(Name = "Group Dishes:")]
        public int GroupDishes { get; set; }

    }
}
